package com.example.cstr.service;

import com.example.cstr.entity.EducationTrainProject;
import com.example.cstr.entity.Message;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface EducationTrainProjectService {


    int deleteByPrimaryKey(Integer etpId);

    int insert(EducationTrainProject record);

    int insertSelective(EducationTrainProject record);

    EducationTrainProject selectByPrimaryKey(Integer etpId);

    int updateByPrimaryKeySelective(EducationTrainProject record);

    int updateByPrimaryKey(EducationTrainProject record);

    List<EducationTrainProject> selectAllEducationTrainProject();

    Message PagingSearch(@RequestParam Integer pageNum, @RequestParam Integer size);

    List<EducationTrainProject> selectByEtp_parent_id(Integer etp_parent_id);

    List<EducationTrainProject> selectEtpIdIdByWorkId(Integer workId);
}








